﻿using DataAchive.Base;
using System.Windows;

namespace DataAchive.Model.ViewModels
{
    public class MainViewModel : ViewModelBase
    {

        #region MainWindow
        private bool isStartButtonEnabled = true;

        public bool IsStartButtonEnabled
        {
            get { return isStartButtonEnabled; }
            set
            {
                isStartButtonEnabled = value;
                OnPropertyChanged(nameof(IsStartButtonEnabled));

            }
        }

        private bool isStopButtonEnabled = false;

        public bool IsStopButtonEnabled
        {
            get { return isStopButtonEnabled; }
            set
            {
                isStopButtonEnabled = value;
                OnPropertyChanged(nameof(IsStopButtonEnabled));
            }
        }


        private Visibility _labelVisibity = Visibility.Hidden;
        public Visibility LabelVisibity
        {
            get { return _labelVisibity; }
            set
            {
                _labelVisibity = value;
                OnPropertyChanged(nameof(LabelVisibity));
            }
        }
        #endregion



    }

}
